package cn.fenqing.annotation;

import java.lang.annotation.*;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * @author fenqing
 */
@Target(ElementType.FIELD)
@Documented
@Retention(RUNTIME)
@Inherited
public @interface ValidatorFiled {

    boolean isNull() default true;

    String pattern() default "";

}
